export const formRenderConfig = {
  creditCode: {
    label: '统一社会信用代码',
    field: 'creditCode',
    width: '200px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入统一社会信用代码',
    },
  },
  supplierChinese: {
    label: '供方中文全称',
    field: 'supplierChinese',
    width: '200px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入供方中文全称',
    },
  },
  unitNature: {
    label: '单位性质',
    width: '200px',
    field: 'unitNature',
    componentName: 'dictSelect',
    componentProps: {
      allowClear: 'true',
      dictType: 'unitNature',
    },
  },
  isGroup: {
    label: '是否集团内',
    field: 'isGroup',
    componentName: 'dictSelect',
    componentProps: {
      allowClear: 'true',
      dictType: 'whether',
    },
  },
  supplierQualified: {
    label: '合格供应商',
    field: 'supplierQualified',
    componentName: 'dictSelect',
    componentProps: {
      allowClear: 'true',
      dictType: 'whether',
    },
  },
  militaryCode: {
    label: '军工企业代号',
    field: 'militaryCode',
    width: '200px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入军工企业代号',
    },
  },
};

export const renderKeys = Object.keys(formRenderConfig);
export const formComponentConfig = {
  selectLike: () =>
    import('@/common/views/baseComponent/formComp/selectLike.vue'),
};
